package core;

public class CheckStatusLists extends Thread {

	public CheckStatusLists(JobManager jobManager) {
	
	}
	
	public void run () {
		try {
			while (true) {
				Thread.sleep(5000);
				System.out.println("CheckStateLists =>");
				//System.out.println("\t Tamanho da fila de jobs: " + this.jobManager.getSizeJobList());
				//System.out.println("\t Tamanho da fila de jobs enviados: " + this.jobManager.getSizeSendJobsList());
				//System.out.println("\t Tamanho da fila de jobs pais: " + this.jobManager.getSizeParentJobsList() + "\n");
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
